package com.ray.life;

import com.google.android.maps.GeoPoint;

public class Constants {
    public static final String RSS_URL_TAIPEI = "http://www.taiwan.look.tw/Rss/Act_AREA_00006.xml";
    public static final String RSS_URL_TAOYUAN = "http://www.taiwan.look.tw/Rss/Act_AREA_00007.xml";
    public static final String RSS_URL_HSINCHU = "http://www.taiwan.look.tw/Rss/Act_AREA_00008.xml";
    public static final String RSS_URL_MIAOLI = "http://www.taiwan.look.tw/Rss/Act_AREA_00009.xml";
    public static final String RSS_URL_TAICHUNG = "http://www.taiwan.look.tw/Rss/Act_AREA_00010.xml";
    public static final String RSS_URL_CHANGHUA = "http://www.taiwan.look.tw/Rss/Act_AREA_00011.xml";
    public static final String RSS_URL_YUNLIN = "http://www.taiwan.look.tw/Rss/Act_AREA_00012.xml";
    public static final String RSS_URL_CHIAYI = "http://www.taiwan.look.tw/Rss/Act_AREA_00013.xml";
    public static final String RSS_URL_TAINAN = "http://www.taiwan.look.tw/Rss/Act_AREA_00014.xml";
    public static final String RSS_URL_KAOHSIUNG = "http://www.taiwan.look.tw/Rss/Act_AREA_00015.xml";
    public static final String RSS_URL_PINGTUNG = "http://www.taiwan.look.tw/Rss/Act_AREA_00016.xml";
    public static final String RSS_URL_YILAN = "http://www.taiwan.look.tw/Rss/Act_AREA_00017.xml";
    public static final String RSS_URL_HUALIEN = "http://www.taiwan.look.tw/Rss/Act_AREA_00018.xml";
    public static final String RSS_URL_TAITUNG = "http://www.taiwan.look.tw/Rss/Act_AREA_00019.xml";
    public static final String RSS_URL_NANTOU = "http://www.taiwan.look.tw/Rss/Act_AREA_00020.xml";

    public static final GeoPoint GEO_TAIPEI = new GeoPoint(25046220,121517501);
    public static final GeoPoint GEO_TAOYUAN = new GeoPoint(24988937,121313524);
    public static final GeoPoint GEO_HSINCHU = new GeoPoint(24801831,120971489);
    public static final GeoPoint GEO_MIAOLI = new GeoPoint(24570114,120822015);
    public static final GeoPoint GEO_TAICHUNG = new GeoPoint(24136944,120685072);
    public static final GeoPoint GEO_CHANGHUA = new GeoPoint(24081535,120538409);
    public static final GeoPoint GEO_YUNLIN = new GeoPoint(23711653,120541391);
    public static final GeoPoint GEO_CHIAYI = new GeoPoint(23478913,120441313);
    public static final GeoPoint GEO_TAINAN = new GeoPoint(22997133,120212789);
    public static final GeoPoint GEO_KAOHSIUNG = new GeoPoint(22638511,120301859);
    public static final GeoPoint GEO_PINGTUNG = new GeoPoint(22669373,120486192);
    public static final GeoPoint GEO_YILAN = new GeoPoint(24751206,121757124);
    public static final GeoPoint GEO_HUALIEN = new GeoPoint(23993192,121601894);
    public static final GeoPoint GEO_TAITUNG = new GeoPoint(22751983,121147377);
    public static final GeoPoint GEO_NANTOU = new GeoPoint(23958725,120972004);

    public static final String[] COUNTY_NAME = {"台北", "桃園", "新竹", "苗栗", "台中", "彰化", "雲林", "嘉義", "台南", "高雄", "屏東", "宜蘭", "花蓮", "台東", "南投"};
    public static final String[] COUNTY_NAME_ENG = {"taipei", "taoyuan", "hsinchu", "miaoli", "taichung", "changhua", "yunlin", "chiayi", "tainan", "kaohsiung", "pingtung", "yilan", "hualien", "taitung", "nantou"};
    public static final String[] COUNTY_RSS_URLS = {RSS_URL_TAIPEI, RSS_URL_TAOYUAN, RSS_URL_HSINCHU, RSS_URL_MIAOLI, RSS_URL_TAICHUNG, RSS_URL_CHANGHUA,
        RSS_URL_YUNLIN, RSS_URL_CHIAYI, RSS_URL_TAINAN, RSS_URL_KAOHSIUNG, RSS_URL_PINGTUNG, RSS_URL_YILAN, RSS_URL_HUALIEN, RSS_URL_TAITUNG, RSS_URL_NANTOU};
    public static final GeoPoint[] COUNTY_GEOS = {GEO_TAIPEI, GEO_TAOYUAN, GEO_HSINCHU, GEO_MIAOLI, GEO_TAICHUNG, GEO_CHANGHUA,
        GEO_YUNLIN, GEO_CHIAYI, GEO_TAINAN, GEO_KAOHSIUNG, GEO_PINGTUNG, GEO_YILAN, GEO_HUALIEN, GEO_TAITUNG, GEO_NANTOU};

    public static final String KEY_TITLE = "title";
    public static final String KEY_DESC = "desc";
    public static final String KEY_LINK = "link";
    public static final String KEY_INDEX = "index";
    public static final String KEY_ADDRESS = "address";

    public static final int NEARBY_DISTANCE = 200;
}
